package com.wpen.unit.web.dto.job;

import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

import com.wpen.unit.commun.PageRequest;

@Schema(description = "任务信息-列表查询(请求)")
@Data
@EqualsAndHashCode(callSuper=false)
public class TaskInfoListRequest extends PageRequest implements Serializable {
    private static final long serialVersionUID = 3748013572408380531L;

    @Schema(description =  "业务系统编号", required = true)
    @NotEmpty
    @Size(min = 0, max = 16)
    private String bizCode;
    @Schema(description =  "批次编号", required = true)
    @NotEmpty
    @Size(min = 0, max = 16)
    private String batchCode;
    @Schema(description =  "任务编号")
    @Size(min = 0, max = 16)
    private String taskCode;

}